package session1;
import session1.cert.Roo;
import session1.notcert.Cloo;
class Toon {
	
	public static void main(String[] args) {
		
//		Reference type;
//		Tuy nhien do class Cloo extends class Roo
//		nen class Cloo ke thua tat ca cac members
//		cua class Roo.
//		Ta gap truong hop:
//		Class A
//		Class B extends Class A
//		Class C su dung (reference) Class B
//		=>Class C co tat ca cac member (mothods + variables)
//		cua Class A
//		========>Ket qua in ra man hinh CONSOLE co mau DO [RED]
		Cloo obj = new Cloo();
		System.err.println(obj.doRooThings());
		
		Roo obj1 = new Roo();
		System.out.println(obj1.doRooThings());
	}

}
